import React, { Component } from 'react';
import './head.css';
import user from '../image/user.png';
import towImg from '../image/二维码.png'
import { Tooltip,Icon} from 'antd';
class Head extends Component {
    render() {
        return (
            <div className="head">
                <div className="useInfo">
                    <img src={user} alt="用户头像"/>
                    <p><span style={{marginRight:'5px'}}>店主姓名：潘毅</span>
                        <Tooltip placement="bottom" title={<span>我潘毅，是一个销售员，这是我的主页，里面有许多好房子，价格实惠，推荐给大家！</span>}>
                            <Icon type="question-circle" />
                        </Tooltip>
                    </p>
                    <p>电话：18681262248</p>
                </div>
                <div className="welCome">欢迎在线咨询!</div>
                <div className="towPic">
                        <img src={towImg} alt="二维码"/>
                        <img src={towImg} alt="二维码"/>
                </div>
            </div>
        );
    }
}

export default Head;
